//========encoding:utf-8=========
/*
 * @describe:  三目运算符
 * @author:mhao
 * @copyright:chinasoft.cn
 * @date:2020年3月31日   上午11:55:59
 */
package edu.chinasoft.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import edu.chinasoft.domain.Application;
import edu.chinasoft.domain.Approval;
import edu.chinasoft.domain.Item;

@Repository("itemMapper")
public interface ItemMapper {
	//添加
	 boolean insertItem(Item item);
	 boolean updateApplicateState(Item item);
	 //查询明细
	 Item selectWriteTime(Application application);
	 Item selectSubmitTime(Application application);
	 List<Approval> selectApprovalByItem(Application application);
}
